<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <body>

        <ui:composition template="./templates/masterLayout.xhtml">

            <ui:define name="content">
                <div class="body">
                    <div class="left">
                        <h2>Register form</h2>
                        <p>Password must be at least 8 characters long, contain at least 2 numbers, and begin with a letter</p>
                        <p>&nbsp;</p>
                        <div class="clr"></div>
                        <h:form id="contactform">
                            <ol>
                                <li>
                                    <label for="name">#{msg['register.firstname']}*</label>
                                    <p:inputText styleClass="text" id="name"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['register.lastname']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['register.email']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['register.confilmEmail']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['register.phonenumber']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['register.answer']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['register.password']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['register.confilmpassword']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['register.securityQuestion']}*</label>
                                    <h:selectOneMenu value="#{loginOrRegisterManagedBean.selected}">
                                        <f:selectItem itemLabel="#{msg['register.question1']}" itemValue="1" />
                                        <f:selectItem itemLabel="#{msg['register.question2']}" itemValue="2" />
                                        <f:selectItem itemLabel="#{msg['register.question3']}" itemValue="3" />
                                        <f:selectItem itemLabel="#{msg['register.question4']}" itemValue="4" />
                                    </h:selectOneMenu>
                                </li>
                                <li class="buttons">
                                    <p:commandButton styleClass="send" value="SIGN UP"/>
                                    <p:commandButton styleClass="send" value="Cancel"/>
                                    <div class="clr"></div>
                                </li>
                            </ol>
                        </h:form>
                        <p>&nbsp;</p>
                        <div class="clr"></div>
                    </div>
                    <div class="right">
                        <h2>Register form</h2>
                        <p>Password must be at least 8 characters long, contain at least 2 numbers, and begin with a letter</p>
                        <p>&nbsp;</p>
                        <div class="clr"></div>
                        <h:form styleClass="contactform">
                            <ol>
                                <li>
                                    <label class="label">#{msg['login.username']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li>
                                    <label class="label">#{msg['login.password']}*</label>
                                    <p:inputText styleClass="text"/>
                                </li>
                                <li class="buttons">
                                    <p:commandButton styleClass="send" value="SIGN UP"/>
                                    <p:commandButton styleClass="send" value="Cancel"/>
                                    <div class="clr"></div>
                                </li>
                            </ol>
                        </h:form>
                    </div>
                </div>
            </ui:define>

        </ui:composition>

    </body>
</html>
